﻿using System.Collections.Generic;

namespace DullBoard.Model
{
    public class Forum
    {
        public Forum()
        {
            Topics = new List<Topic>();
        }

        public long Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string CategoryName { get; set; }
        public long CategoryId { get; set; }

        public List<Topic> Topics { get; set; }

        public override string ToString()
        {
            return string.Format("[{0}] {1}", Id, Name);
        }
    }
}
